package com.cashmama.market.api.application.controller.message.response;

import com.cashmama.market.api.infras.handler.ResponseData;

/**
 * @program: market-api
 * @description
 * @author: frank
 * @create: 2019-12-26 15:08
 **/
public class NotifyMessageResponse implements ResponseData {

    /**
     * 消息类型 1：push消息
     */
    private Integer type;

    /**
     * 是否未读
     */
    private Boolean unread;

    /**
     * 未读消息数量
     */
    private String unreadNumber;

    public Integer getType() {
        return type;
    }

    public NotifyMessageResponse setType(Integer type) {
        this.type = type;
        return this;
    }

    public Boolean getUnread() {
        return unread;
    }

    public NotifyMessageResponse setUnread(Boolean unread) {
        this.unread = unread;
        return this;
    }

    public String getUnreadNumber() {
        return unreadNumber;
    }

    public NotifyMessageResponse setUnreadNumber(String unreadNumber) {
        this.unreadNumber = unreadNumber;
        return this;
    }
}
